#pragma once

#include <QWidget>
#include "cfgjsonrw.h"
QT_BEGIN_NAMESPACE
namespace Ui { class CameraConfig; };
QT_END_NAMESPACE

class ComponentBase;

class CameraConfig : public QWidget
{
	Q_OBJECT

public:
	CameraConfig(QWidget* parent = nullptr);
	~CameraConfig();

	void SetCfg(const CameraCfg& cfg);
	CameraCfg GetCfg();
private:
	Ui::CameraConfig* ui;
};
